package cn.ssj.dao;

import cn.ssj.entity.News;

import java.util.List;

/**
 * Created by Administrator on 2017/9/1 0001.
 */
public interface NewsDao extends BaseDao<News,Integer> {
    /**
     * 根据使用标记进行查询
     * @param userFlag
     * @return
     */
    List<News> findByUseFlagOrderByPubDateDesc(String userFlag);
}
